package com.software.template;

public class TemplateDemo {
    public static void main(String[] args) {

        Cooking cooking = new 回锅肉();
        cooking.cook();
        System.out.println("---------------");
        Cooking cooking1 = new 炒土豆丝();
        cooking1.cook();
    }

    public static long time() {
        long start = System.currentTimeMillis();
        process1();
        long end = System.currentTimeMillis();
        return end - start;
    }

    public static void process() {
        for (int i = 1; i < 123478; i++) {

        }
    }

    public static void process1() {
        for (int i = 123478; i <= 0; i--) {

        }
    }
}
